﻿<%@ Page Language="C#" MasterPageFile="MasterPageSEG.Master" AutoEventWireup="true" CodeBehind="VincularEmpresa.aspx.cs" Inherits="SEG.VincularEmpresa" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 95%;" border="0" cellspacing="0" cellpadding="2" align="center">
        <tr>
            <td align="left" colspan="3">
                <asp:Label ID="Label1" runat="server" 
                    style="font-family: Arial, Helvetica, sans-serif; font-size: large; color: #000000; font-weight: 700" 
                    Text="Vincular Empresa"></asp:Label>
                <br />
                <hr class="linhahorizontal"
                    style="width: 750px" />
            </td>
        </tr>
        <tr>
            <td class="erro" colspan="3">
                <asp:Label ID="lblErro" runat="server" Text="Erro:" Visible="False"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblGrupos" runat="server" 
                    style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 700" 
                    Text="Grupos"></asp:Label>
&nbsp;<asp:DropDownList ID="ddlGrupos" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlGrupos_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Label ID="lblEmpresas" runat="server" 
                    style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 700" 
                    Text="Empresas"></asp:Label>
&nbsp;<asp:DropDownList ID="ddlEmpresas" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlEmpresas_SelectedIndexChanged">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="lblUsuGrp" runat="server" 
                    style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 700" 
                    Text="Usuário - Grupo"></asp:Label>
            </td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Label ID="lblUsuEmp" runat="server" 
                    style="color: #000000; font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 700" 
                    Text="Usuário - Grupo - Empresa"></asp:Label>
            </td>
        </tr>
        <tr>
            <td rowspan="3" align="center">
                <asp:ListBox ID="listUsuarios" runat="server" 
                    Height="91px" Width="200px" AutoPostBack="True" 
                    onselectedindexchanged="listUsuarios_SelectedIndexChanged">
                </asp:ListBox>
            </td>
            <td style="height: 26px">
                <asp:Button ID="btnAdd" runat="server" Text="&gt;" onclick="btnAdd_Click" />
            </td>
            <td rowspan="3">
                <asp:ListBox ID="listUsuariosVincular" runat="server" SelectionMode="Multiple" 
                    Height="91px" Width="200px">
                </asp:ListBox>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:CheckBox ID="chboxConsultar" runat="server" AutoPostBack="True" 
                    oncheckedchanged="chboxConsultar_CheckedChanged" 
                    style="font-family: Arial, Helvetica, sans-serif; font-size: small; font-weight: 700; color: #000000" 
                    Text="Consultar" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnRemove" runat="server" Text="&lt;" 
                    onclick="btnRemove_Click" />
            </td>
        </tr>
        <tr>
            <td>
                <asp:Button ID="btnPesquisarUG" runat="server" onclick="Button1_Click" 
                    Text="Pesquisar" Enabled="False" />
            </td>
            <td>
                &nbsp;</td>
            <td>
                <asp:Button ID="btnPesquisarUGE" runat="server" onclick="btnPesquisarUGE_Click" 
                    Text="Pesquisar" Enabled="False" />
            </td>
        </tr>
        </table>
</asp:Content>
